package pers.cj.pdos.service;

import pers.cj.pdos.entity.RolePermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenj
 * @since 2019-11-04
 */
public interface IRolePermissionService extends IService<RolePermission> {

    List<RolePermission> listByRole(String roleId, String companyId);

    void updateList(List<RolePermission> list, String roleId, String companyId);
}
